package cn.icanci.loopstack.lbrt.application.controller;

import cn.icanci.loopstack.lbrt.service.UserService;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author icanci
 * @since 1.0 Created in 2023/06/16 11:00
 */
@RestController
@RequestMapping("lbrt")
public class IndexController {
    @Resource(name = "userService")
    private UserService userService;

    @RequestMapping("index")
    public String index() {
        System.out.println(userService);
        return "Hello World";
    }
}
